package com.zhu.model.inventoryRecord;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhu.model.BaseVM;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author JoyBoyZH
 * @description 入库模型
 * @date 2022/6/3
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("出入库信息条件查询模型")
public class InventoryRecordConditionSelectVM extends BaseVM {
    @ApiModelProperty(value = "出入库操作",hidden = false)
    private Integer operation;
    @ApiModelProperty(value = "出入库仓库名属性说明",hidden = false)
    private String warehouseName;

    @ApiModelProperty(value = "单据编号属性说明",hidden = false)
    private String rid;

    @ApiModelProperty(value = "时间范围1属性说明",hidden = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date minTime;

    @ApiModelProperty(value = "时间范围2属性说明",hidden = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date maxTime;
}

